package cn.sunlelin.educationserver.mapper;

import cn.sunlelin.educationserver.entity.Discussreply;

import java.util.List;
import java.util.Map;

public interface DiscussreplyMapper {
    public void createDiscussreply(Discussreply discussreply);
    public Map<String,Object> selectDiscussreplyById(Integer discussreplyId);
    public List<Map<String,Object>> selectDiscussreplyByUserId(Integer userId);
    public List<Map<String,Object>> selectDiscussreplyByDiscussId(Integer discussId);
    public void deleteDiscussreply(Discussreply discussreply);
}
